package testes;

public class Node {
	
	public int key;
	public Node parent;
	public Node left;
	public Node right;
	
	public Node(int key, Node parent, Node left, Node right){
		this.key = key;
		this.parent = parent;
		this.left = left;
		this.right = right;
	}
	
	public Node(int key, Node parent){
		this(key, parent, null, null);
	}
	
	public Node(int key){
		this(key, null);
	}

}
